﻿function OwOpenItemDetail(path) {
    var oWnd = radopen(path, "DIW"); oWnd.set_title(path); oWnd.center();
};
function OwOpenItemDetail(path, title) {
    var oWnd = radopen(path, "DIW"); oWnd.set_title(title); oWnd.center();
};
//Admin
function OwSetVisible(id) {
    $(".TopTabStrip").hide(2500).fadeOut(1500);
    $(id).show("slow").fadeIn(3000);
}
function OwSetTabVisible(sender, args) {
    var tab = args.get_tab();
    var itemValue = tab.get_value();
    if (itemValue == null) return;
    if (itemValue == 'WorkTab') {
        OwSetVisible('#WorkTopDiv');
    }
    if (itemValue == 'EntertainmentTab') {
        OwSetVisible('#EntertainmentTopDiv');
    }
    if (itemValue == 'OpenWebAdministrationTab') {
        OwSetVisible('#OpenWebAdministrationTopDiv');
    }
}
function OwSetOpenWebAdministrationVisible() {
    OwSetVisible('#OpenWebAdministrationTopDiv');
}
function OwSetWorkTopDivVisible() {
    OwSetVisible('#WorkTopDiv');
}
